Guillem Jover [Sun, 10 Dec 2017 19:22:11 +0000 (20:22 +0100)]
[PATCH 12/15] man: Fix markup
- Remove unnecessary macro argument quoting.
- Variables, pathnames in italics.
- Keywords in bold.
- Man page references in bold, followed by the man page number.
- Fix TP/TQ macro usage.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0012-man-Fix-markup.patch
Guillem Jover [Fri, 8 Feb 2019 23:28:53 +0000 (00:28 +0100)]
[PATCH 2/7] harness: Use run-time _SC_PAGE_SIZE instead of build-time PAGESIZE
The getconf(1) command is inherently not cross-compilation friendly.
In addition PAGESIZE depends on the specific system, even within a
specific arch, so using a hard-coded value is never safe.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0002-harness-Use-run-time-_SC_PAGE_SIZE-instead-of-build-.patch
Guillem Jover [Fri, 8 Feb 2019 23:25:38 +0000 (00:25 +0100)]
[PATCH 1/7] harness: Use destination strncpy() expression for sizeof() argument
Even though this is the same size, as the sizeof() is derived from the
source expression, recent gcc versions will emit a warning, which is
turned into an error by -Werror:
error: argument to ‘sizeof’ in ‘strncpy’ call is the same expression
as the source; did you mean to use the size of the destination?
[-Werror=sizeof-pointer-memaccess]
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0001-harness-Use-destination-strncpy-expression-for-sizeo.patch
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Honour user build flags
Origin: vendor
Forwarded: no
Last-Update: 2014-10-09
CPPFLAGS, CFLAGS and LDFLAGS are user flags, which we need to preserve, any
required flag that the build system needs, has to be set in some other flag
so that the build will succeed even of the user flags are passed.
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Link against libgcc and libc to avoid unresolved symbols
Origin: vendor
Bug-Debian: 764509
Forwarded: no
Last-Update: 2014-10-09
We need to link agaisnt -lgcc, on at least hppa. We also need to link
against -lc, because we are now always using the syscall() libc function.
So let's stop passing -nostdlib and -nostartfiles.
Note: we used to use -Wl,--as-needed, this way we made sure we pulled the
required fortified functions from the internal libc_nonshared.a, but did
not link against the shared library because we did not use any of its
symbols.
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
libaio (0.3.112-3) unstable; urgency=medium
* Test suite fixes:
- Fix logic inversion in EINVAL check.
- Revert making the test suite fatal on failures, as the Debian buildd
setup is peculiar enough to make at least two tests fail. This will
need further work.